<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<include file="__VIEW__/Common/header" />
		<script type="text/javascript" src="__STATIC__/index/js/content.js"></script>
		<script type="text/javascript">
//		       异步查询库存价格
			query="{|U:'Goods/ajaxQuery'}";
			addCart="{|U:'addCart'}";
		</script>
		
		<!--头部结束-->
		<div class="goods">
			<!--内容左侧开始-->
			<div class="conLeft">
				<!--最爱排行和最热排行开始-->
				<div class="love-hot">
					<a href="javascript:;" class="love on">最爱排行</a>
					<a href="javascript:;" class="hot">热销排行</a>
					<ul>
						<foreach from="$favorite" value="$v" key="$k">
							<li>
								<dl>
									<dt>
										<a href="{|U:'index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.small}" alt="{$v.gname}"/></a>
									</dt>
									<dd>
										<a href="{|U:'index',array('gid'=>$v['gid'])}">{$v.gname||hd_substr:18,'...'}</a>
										<br />
										<span>￥{$v.shopprice}</span>
									</dd>
								</dl>
							</li>	
						</foreach>
					</ul>
					<ul style="display: none;">
						<foreach from="$hot" value="$v" key="$k">
							<li>
								<dl>
									<dt>
										<a href="{|U:'index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.small}" alt="{$v.gname}" /></a>
									</dt>
									<dd>
										<a href="{|U:'index',array('gid'=>$v['gid'])}">{$v.gname|mb_substr:0,18,'utf8'}...</a>
										<br />
										<span>￥{$v.shopprice}</span>
									</dd>
								</dl>
							</li>	
						</foreach>
					</ul>
				</div>
				<!--最爱排行和最热排行结束-->
				<!--看过此商品的人还看过这个-->
				<!--<div class="looked">
					<span class="lookedShop">看过此商品的用户还看过</span>
					<ul>
						<li>
							<dl>
								<dt>
									<a href=""><img src="__STATIC__/index/img/love.jpg" alt="" /></a>
								</dt>
								<dd>
									<a href="">沭朴 春款原创日系韩版情...</a>
									<br />
									<span>￥89.00</span>
								</dd>
							</dl>
						</li>
						<li>
							<dl>
								<dt>
									<a href=""><img src="__STATIC__/index/img/love.jpg" alt="" /></a>
								</dt>
								<dd>
									<a href="">沭朴 春款原创日系韩版情...</a>
									<br />
									<span>￥89.00</span>
								</dd>
							</dl>
						</li>
					</ul>
				</div>-->
				<!--看过此商品的人还看过这个-->
			</div>	
			<!--内容左侧结束-->
			<!--内容右侧开始-->
			<div class="conRight">
				<div class="leftShop">
					<img src="__ROOT__/{$goods.big}" alt="{$goods.gname}" width="420" height="420"/>
					<a href="{|U:'Common/add',array('gid'=>$_GET['gid'])}" class="addLove">❤</a>
				</div>
				<div class="rightShop">
					<h2>{$goods.gname}</h2>
					<p class="shopPrice">
						<span>价&nbsp;&nbsp;&nbsp;&nbsp;格：</span>
						<span class="price">￥ <strong>{$goods.shopprice}</strong></span>
					</p>
					<p class="fl">运&nbsp;&nbsp;&nbsp;&nbsp;费：</p>
					<ul class="shopAddress">
						<li class="store_add">福建省	福州市</li>
						<li class="to">至</li>
						<li class="toAdress">
							<span>天津市</span>
							<img src="__STATIC__/index/img/down_add.gif" alt="" />
						</li>
					</ul>
					<ul class="kuaidi">
						<li>快递：8元</li>
						<li>顺丰：25元</li>
					</ul>
					<div class="clear"></div>
					<div class="address_area" style="display: none;">
						<dl>
							<dt>请选择你的收货城市</dt>
							<dd>
								<img src="__STATIC__/index/img/chazi.gif" alt="" />
							</dd>
						</dl>
						<p class="dangqian_city">
							你当前的所在地：
							<a href="javascript:;">北京市</a>
						</p>
						<ul class="citys">
							<li><a href="javascript:;">上海市</a></li>
							<li><a href="javascript:;">江苏省</a></li>
							<li><a href="javascript:;">浙江省</a></li>
							<li><a href="javascript:;">安徽省</a></li>
							<li><a href="javascript:;">江西省</a></li>
							<li><a href="javascript:;">北京市</a></li>
							<li><a href="javascript:;">天津市</a></li>
							<li><a href="javascript:;">河北省</a></li>
							<li><a href="javascript:;">山西省</a></li>
							<li><a href="javascript:;">内蒙古</a></li>
							<li><a href="javascript:;">山东省</a></li>
							<li><a href="javascript:;">河南省</a></li>
							<li><a href="javascript:;">湖北省</a></li>
							<li><a href="javascript:;">湖南省</a></li>
							<li><a href="javascript:;">福建省</a></li>
							<li><a href="javascript:;">广东省</a></li>
							<li><a href="javascript:;">海南省</a></li>
							<li><a href="javascript:;">广西</a></li>
							<li><a href="javascript:;">辽宁省</a></li>
							<li><a href="javascript:;">吉林省</a></li>
							<li><a href="javascript:;">黑龙江</a></li>
							<li><a href="javascript:;">陕西省</a></li>
							<li><a href="javascript:;">甘肃省</a></li>
							<li><a href="javascript:;">青海省</a></li>
							<li><a href="javascript:;">宁夏</a></li>
							<li><a href="javascript:;">新疆</a></li>
							<li><a href="javascript:;">重庆市</a></li>
							<li><a href="javascript:;">四川省</a></li>
							<li><a href="javascript:;">贵州省</a></li>
							<li><a href="javascript:;">云南省</a></li>
							<li><a href="javascript:;">西藏</a></li>
							<li><a href="javascript:;">香港</a></li>
							<li><a href="javascript:;">澳门</a></li>
							<li><a href="javascript:;">台湾省</a></li>
						</ul>
					</div>
					<p class="shopPrice" style="margin:12px 0 0 0;">
						<span>评&nbsp;&nbsp;&nbsp;&nbsp;价：</span>
						<span>好评率97.86%  | 
							<a href="">已有140条评价</a>
						</span>
					</p>
					<div class="shopInfo">
						<list from="$specData" name="$n">
							<dl>
								<dt>{$n.aname}</dt>
								<dd>
									<ul class="size">
										<list from="$n['spec']" name="$na">
											<li gaid="{$na.gaid}">
												<span>{$na.gvalue}</span>
												<img src="__STATIC__/index/img/duigou_new.gif">
											</li>
										</list>
									</ul>
								</dd>
							</dl>
						</list>
						<dl>
							<dt>购买数量：</dt>
							<dd style="margin-top: 13px;">
								<span id="redu" class="jian">-</span>
								<input id="num" type="text" value="1" name="num" class="num" style="width:50px; text-align:center;"/>
								<span id="add" class="jia">+</span>	
								<span style="margin-left:9px; color:#8b8a8a;">库存<strong id="all" style="color: red;font-size: 17px;font-weight: 600;">{$goods.gsum}</strong>件</span>
							</dd>
						</dl>
					</div>
					<div class="shopBtn">
						<input type="submit" value="加入购物车" class="buyBtn" gid="{$goods.gid}" />
					</div>
					<div class="success">
						<h3>宝贝已成功加入到购物车!</h3>
						<p>购物车共有<strong style="color: #FF7800;">0</strong>种宝贝，合计<strong style="color: #FF7800;">0</strong>元</p>
						<a href="javascript:;" class="close">关闭</a>
						<a href="{|U:'Carter/index'}"><img src="__STATIC__/index/img/pay_now.png" alt="" /></a>
					</div>
					<div class="error">
						<h2 style="margin: 0 auto;">加入失败！</h2>
						<a href="" class="notice">提示：没有库存！</a>
					</div>
				</div>
				<div class="clear"></div>
				<!--tab切换-->
				<ul class="shop_nav">
					<li class="select">产品详情</li>
					<li>买家评价</li>
				</ul>
				<div class="shop_details">
					{$goods.introduce}
					<!--标签云开始-->
					<!--<div class="tags">
						<div class="tag" style="border-left: none;padding-left: 0px;">
							<dl>
								<dt>标签</dt>
								<br />
								<dd>
									<span>情侣</span>
									<span>原创</span>
									<span>个性</span>
									<span>潮流</span>	
								</dd>
							</dl>
						</div>
						<div class="tag">
							<dl>
								<dt>材质</dt>
								<br />
								<dd>
									<span>纯棉</span>
								</dd>
							</dl>
						</div>
					</div>-->
					<!--标签云结束-->
					<!--店主推荐开始-->
					<h4 style="line-height: 40px;">店主推荐</h4>
					<ul class="tuijian">
						<foreach from="$recommond" value="$v" key="$k">
						<li>
							<a href="{|U:'index',array('gid'=>$v['gid'])}"><img src="__ROOT__/{$v.pic}" alt="" width="142" height="142" /></a>
							<h6 style="height:40px; overflow:hidden;word-break:break-all;"><a href="{|U:'index',array('gid'=>$v['gid'])}">{$v.gname|hd_substr:'18','...'}</a></h6>
							<p>
								￥89.00
							</p>
						</li>	
						</foreach>
						
						
					</ul>
					<!--店主推荐结束-->
					<!--<div class="clear"></div>-->
					<!--买过此商品的还买过-->
					<!--<h4 style="line-height: 40px;">买过此商品的还买过</h4>
					<ul class="tuijian">
						<li>
							<a href=""><img src="__STATIC__/index/img/tuijian.jpg" alt="" width="142" height="142" /></a>
							<h6 style="height:40px; overflow:hidden;word-break:break-all;"><a href="">述朴 夏装原创日系韩版情侣装短袖男t恤3D水...</a></h6>
							<p>
								<b>[<a href="">述朴自然系品...</a>]</b>
								￥89.00
							</p>
						</li>
						<li>
							<a href=""><img src="__STATIC__/index/img/tuijian.jpg" alt="" width="142" height="142" /></a>
							<h6 style="height:40px; overflow:hidden;word-break:break-all;"><a href="">述朴 夏装原创日系韩版情侣装短袖男t恤3D水...</a></h6>
							<p>
								<b>[<a href="">述朴自然系品...</a>]</b>
								￥89.00
							</p>
						</li>
					</ul>-->
					<!--买过此商品的还买过-->
				</div>
				<div class="shop_details" style="display: none;">
					<div style="padding: 20px;text-align: center;font-size: 12px;">
						暂时没有商品评价
					</div>
					
				</div>
			</div>
			<!--内容右侧开始-->
		</div>
		<div class="clear"></div>
		<!--底部开始-->
		<include file="__VIEW__/Common/footer"/>
